
cc.Class({
    extends: cc.Component,

    properties: {
        className:"homelayer",
    },

    confirm:function(){
        EventManager.dispatchEventF(EventConfig.HomeExit,"");
        this.node.active = false ;
    },

    quit:function(){
        this.node.active = false ;
    }
});